/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * testJframe.java
 *
 * Created on Feb 22, 2011, 10:04:15 AM
 */

package org.fa.in;

import javax.swing.JLabel;

/**
 *
 * @author tatung
 */
public class testJframe extends javax.swing.JInternalFrame {

    /** Creates new form testJframe */
    public testJframe() {
        initComponents();
        int xPosition = 100, yPosition = 100;

        setSize(300, 300);
        setLocation(xPosition, yPosition);
        // Add some content:
        add(new JLabel("hello IFrame #"));
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jButton1 = new javax.swing.JButton();

        jButton1.setText(org.openide.util.NbBundle.getMessage(testJframe.class, "testJframe.jButton1.text")); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(144, 144, 144)
                .addComponent(jButton1)
                .addContainerGap(186, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(113, 113, 113)
                .addComponent(jButton1)
                .addContainerGap(131, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    // End of variables declaration//GEN-END:variables

}
